﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace CalculatorLogic
{
    
    // all fields must be assigned in the constructor
  
    /// <summary>
    /// A structure representing an interval marking on a graph
    /// </summary>
    public struct GraphInterval
    {
        double width;
        double height;

        Point place;
        Color color;
        /// <summary>
        /// Constructor for a GraphInterval Structure
        /// </summary>
        /// <param name="width">the width of the interval, for drawing</param>
        /// <param name="height">the height of the interval, for drawing</param>
        /// <param name="placementPoint">the point on the graph this will be placed</param>
        /// <param name="color"> the color of the interval on screen</param>
        public GraphInterval(double width, double height, Point placementPoint, Color color)
        {
            this.width = width;
            this.height = height;
            this.place = placementPoint;
            this.color = color;
        }

        

    }
}
